package com.ksyun.alert.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * 告警详情返回VO
 * @author hantou
 * @date 2024-05-12
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Builder
public class AlertRecordDetailsVO {

    /**
     * 告警描述
     */
    private String alertRuleDesc;

    /**
     * 完整计算式
     */
    private String allExpression;

    /**
     * 告警级别
     */
    private Integer severity;

    /**
     * 告警产生时间
     */
    private String occurrenceTime;

    /**
     * 参数集
     */
    private Map<String, Float> paramsMap;

}
